package com.healthy.medical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthy.common.core.annotation.Excel;
import com.healthy.common.core.web.domain.BaseEntity;

/**
 * 医疗机构对象 medical_institutions
 * 
 * @author 束伟
 * @date 2024-03-29
 */
public class MedicalInstitutions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医疗机构id */
    private Long id;

    /** 医疗机构名称 */
    @Excel(name = "医疗机构名称")
    private String name;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 医疗机构类型 */
    @Excel(name = "医疗机构类型")
    private String institutionType;

    /** 规模描述 */
    @Excel(name = "规模描述")
    private String scaleDescription;

    /** 资质和认证信息 */
    @Excel(name = "资质和认证信息")
    private String qualifications;

    /** 合作协议内容 */
    @Excel(name = "合作协议内容")
    private String cooperationAgreement;

    /** 备用列1 */
    @Excel(name = "备用列1")
    private String spareColumn1;

    /** 备用列2 */
    @Excel(name = "备用列2")
    private String spareColumn2;

    /** 备用列3 */
    @Excel(name = "备用列3")
    private String spareColumn3;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setInstitutionType(String institutionType) 
    {
        this.institutionType = institutionType;
    }

    public String getInstitutionType() 
    {
        return institutionType;
    }
    public void setScaleDescription(String scaleDescription) 
    {
        this.scaleDescription = scaleDescription;
    }

    public String getScaleDescription() 
    {
        return scaleDescription;
    }
    public void setQualifications(String qualifications) 
    {
        this.qualifications = qualifications;
    }

    public String getQualifications() 
    {
        return qualifications;
    }
    public void setCooperationAgreement(String cooperationAgreement) 
    {
        this.cooperationAgreement = cooperationAgreement;
    }

    public String getCooperationAgreement() 
    {
        return cooperationAgreement;
    }
    public void setSpareColumn1(String spareColumn1) 
    {
        this.spareColumn1 = spareColumn1;
    }

    public String getSpareColumn1() 
    {
        return spareColumn1;
    }
    public void setSpareColumn2(String spareColumn2) 
    {
        this.spareColumn2 = spareColumn2;
    }

    public String getSpareColumn2() 
    {
        return spareColumn2;
    }
    public void setSpareColumn3(String spareColumn3) 
    {
        this.spareColumn3 = spareColumn3;
    }

    public String getSpareColumn3() 
    {
        return spareColumn3;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("contactInfo", getContactInfo())
            .append("institutionType", getInstitutionType())
            .append("scaleDescription", getScaleDescription())
            .append("qualifications", getQualifications())
            .append("cooperationAgreement", getCooperationAgreement())
            .append("spareColumn1", getSpareColumn1())
            .append("spareColumn2", getSpareColumn2())
            .append("spareColumn3", getSpareColumn3())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
